fixed a cygwin bug for the build test. recv() was returning an unexpected error code for non-blocking sockets.