Check O_BINARY definition
Check errno.h
Rebuild configure script
Respect HAVE_ERRNO_H
Respect HAVE_O_BINARY, HAVE_SET_MODE, HAVE__SET_MODE
Support STDIN on windows console
Improve error handling
Get rid of utf8_t