Mac compatibility for jnotify: using libjnotify.jnilib for Mac