Fix template-haskell dependency