Fix build after a llvm API change.