Work around for haskell/cabal#1725