Fixed travis errors.