Fix for LLVM api change