Attempt to resolve TemplateHaskell version.

For Travis builds with GHC 7.0 and 7.2