Fix path resolution for source files.