cabal-install: Anticipate and fix GHC 7.8 bug.