Change AM_CONFIG_HEADER to AC_CONFIG_HEADER

AM_CONFIG_HEADER is deprecated and replaced by AC_CONFIG_HEADER