Fix automake hack for Travis