cleaning up cygwin support a bit