Fix autotools errors.