Build from commit 58260d4 that adds inotify support for BSD