rename AM_CONFIG_HEADER to AC_CONFIG_HEADER

the former has been deprecated and does not work on newer autoconf
versions.