Fix assumption that users have cabal 1.18 or lower