Fixed deprecation errors with recent versions of autoconf