patch applied (cabal-branches/cabal-1.2): make this buildable with GHC 6.2.x