Optionally link inotify library