Fix configure.ac for newer autotools.