Removing template haskell to allow linking on Mac.