Fixed bug in relative file location calculation for compiler.