check for errno.WSA* on 64-bit Windows (fixes #1052)