[cygwin] more windows nits and cleanup