fix some of the cygwin issues