patch applied (cabal-branches/cabal-1.2): Move expensive conviguration actions inside branch where they're used