Fix for building with GHC 7.7/TH 2.9

They changed the TH API: https://github.com/ghc/packages-template-haskell/commit/e4f742d5f70eefb1e0a7542762f34e7a50f6fcef#Language/Haskell/TH/Syntax.hs
so it needed another fix.