update to work better with new Autoconf