patch applied (cabal-branches/cabal-1.10): "Fix to build with ghc-6.6 and 6.8"