Get rid of several compilation warnings.