Switched to using C++ API for LLVM.