Support ghc 7.6