configure.ac: support older autoconf versions

Removed AC_PREREQ from configure.ac to support older versions of
autoconf.