Changes to bring up-to-date and fix autoconf scripts