This configuration command prior to make worked for me on Linux:
./configure --disable-shared CC="afl-gcc"
It calls the AFL GCC compiler instead, which presumably injects instrumentation.