Fix travis builds under 0.8.x