Only use MSG_NOSIGNAL for !win32 since it doesn't exist on windows.