build: fix building with old versions of autoconf