Adds support for template-haskell-2.9

Conditionally hides Module constructor from template-haskell-2.9