Refactoring of the compiler code that converts file specs into source and object file paths