Fixed bug in adding Makefrags as a depenendency for files to be recompiled