Fix compilation warnings.