A couple of fixes from Aidil.  Fix ever growing auto_config.h, and
add some suport for CLOSURES_EXTENSION, a new afun functionp()
an filter_array/map_array now accept a function pointer as well.