Made compatible with Cabal 1.18