Only load rb-inotify on mri and jruby platforms