Fix the global 'clean' command in the build.
Merge pull request #990 from sjrd/fix-clean-in-build

Fix the global 'clean' command in the build.