added cygwin case