Support GHC 7.8
Merge branch 'ghc7.8'