CONFIGURE: fix building with automake-1.13

AM_CONFIG_HEADER -> AC_CONFIG_HEADERS

the former is fatal since automake-1.13, but it also works with previous automake since it was in deprecation phase