Fix build with newer autotools.

AM_CONFIG_HEADER has been deprecated.