-Wall police (Win64 edition).
Fix 'cabal clean' on Windows for build-type: Custom'.

Fixes #1863.