Default to the POSIX api on cygwin.