Fix for Cabal 1.18