adding cygwin support

Hope this helps!