AM_CONFIG_HEADER -> AC_CONFIG_HEADERS

AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.
Merge pull request #75 from hintjens/master

Backported c436c8