Fix several travis issues.