Also include import_paths when looking for imported files when deciding whether to compile.