Put a condition for the NONBLOCK option for Mac OS X