Fixed warnings from build analyze.