better Cygwin compatibility