waf is missing a define for HAVE_FAM and we pass the notifyd callback ad fam_watch, but inside notify_fam.c we define the function as _ fam_watch.