Minor autoconf tweaks

- move configure.in -> configure.ac (as recommended by autotools)
- AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
  AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.