AC_CONFIG_HEADERS instead of obsolete and removed AM_CONFIG_HEADER

AC_CONFIG_HEADERS has been around for rather a while, so this should be safe.