Updated configure.ac for the newer version of autotools.