support ghc 7.10