Use fsnotify instead of inotify to work on OS X and other non-Linux systems