Fix some build warnings.