Update the interface to buildVarDecls for LLVM