Fixed some travis errors.