Add file path to compilation error message

Just a minor change to specify where the compilation error occurred.