Don't run the CleanInstaller target on non-Windows systems.

Without this, doing a Clean on non-Windows systems fails.
Check if a directory exists before removing it in build scripts.

msbuild is fine with trying to remove a directory that doesn't
exist but mono's xbuild fails.
Merge branch 'master' into deb