Updated AM_CONFIG_HEADER to AC_CONFIG_HEADER. The AM_ macro is obsolete and triggers an error in recent autotools.
set _POSIX_SOURCE for Mac OS X 10.5 (to find EAI_OVERFLOW, see issue https://github.com/italiangrid/voms/issues/2)