add cygwin support