patch applied (cabal-branches/cabal-1.4): Define bracketOnError in compat; fixes the build for GHC 6.4