Updates autotools files

The autoconf/automake files were outdated. These couple of small
changes adapt them for newer versions of the autotools.