Define MSG_NOSIGNAL for OSX.