Update for inotify 2.0

I've tried to run `oasis setup`, but it placed unspeakable horror all over the diff, so I decided to not check that in. Feel free to update the buildsystem however you see fit.