You should use the `call_conditional_compilation` makefile smarty here to allow inotify stuff to be compile as dynamic module..