support for ghc7.4 - closes #3