more autotools modifications