Only apply O_NONBLOCK hack on Darwin