fix inputFile path when workingDirectory flag is set
finish compilation