Change inotify support

- Get rid of first implementations (very old kernels now).
- Have inotify support for BSD.