The only way out I currently see is to build samba with fam (and not gamin). Is there a specific reason you build with gamin?