Cabal-1.18 compatibility