Replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS

I am not an autotools expert not by even a long shot, but on newer systems this change makes it possible to complete autoreconf -fvi without seeing errors about AM_CONFIG_HEADER being a obsolete macro. 

Kind regards,
Athanasios