Tweaks to make "cabal sdist" work.