Make tests build with older template-haskell.