Fix warnings treat as errors.