Replace AM_CONFIG_HEADER by AC_CONFIG_HEADERS

see DUNE issue #1243