llvm fixes using jit and calling getProcessTriple (#2299)