The current version of their configure script is broken, and uses some GNU sed extension to detect 32/64 bits mixed linux installations.
This shows up as some fairly weird error message, the include path ends up containing some (. use CONFIGURE_ARGS+=--disable-libsuffix to get around it.