Get building in ghc 7.8.2 and cabal 1.20.0.1