Remove AM_EXTRA_RECURSIVE_TARGETS from configure.ac, it requires a recent version of automake. Fixes issue #499.