BTW, rerunning ./autogen.sh and ./configure seems to have fixed this problem for me.
This has been the case for many autotools-related problems here. If you prefer a no-autogen.sh, no-configure.py solution, you can try the scons build system. Read INSTALL.scons for details. Cheers, Bo