Fix travis build error