Fix three compilation warnings.