Use fsnotify instead of inotify for non-Linux support

This will close #9