POSIX error codes missing on old Windows versions added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>