build: modernize to newer Autoconf releases