fixed non-layout files being parsed on incremental builds