support ghc-7.8