add errno for Cygwin.