Fix prependMainExecutablePath for LLVM 3.4.