Fix for cabal sdist problem, which also would have broken the build on Windows.