Fix Travis compile errors.