Various autoconf tweaks.