add fix for ghc-7.4.1 template-haskell segfault

See bottom of https://github.com/mokus0/lambdabot/issues/36