This fixes it:

./configure && echo "#define FANOTIFY 1” >> clamav-config.h

Thanks for the help,
Arthur