Fix cabal-install build for GHC 6.10.4.