modify for cygwin