Be compatible with cabal 1.10