Check for source files properly.