Clean up usage of automake and autoconf