Fix build with LLVM top-of-tree