Add autoconf module and other various improvements.