Fix automake version compatibility.