more autotools tweaks