get compatible with cygwin