Include errno.h when build on cygwin. Closes #87