Fixed a number of build bugs in LLVM.