Fix compilation output location bug