Build with template haskell if we're building the HaLVM.