Minor modifications for building with latest Template-Haskell 2.9
Merge pull request #9 from co-dan/master

Fix for building with GHC 7.7/TH 2.9