Use correct relative paths for error messages.
Make the compiler be able to produce dependency files.