Support building with Cabal 1.18