Fix inheritance of *_first_files

Repository that don't declare *_first_files was inherited it from parent. And
than try to compile some files that don't exists.

Issue #249