conditionally remove stuff for cygwin