_XOPEN_SOURCE breaks the events on OSX

OSX fcntl.h doesn't require _XOPEN_SOURCE -> _POSIX_C_SOURCE is defined for O_NONBLOCK. Defining _XOPEN_SOURCE on OSX breaks other events. 

See https://github.com/joyent/node/issues/7855