Fixed another batch of compilation warnings.