Fixed build warnings.