Check that either FSEvents (CoreServices/CoreServices.h) or kqueue (sys/event.h) to be available.