Fix Travis errors