Fixed more compilation warnings.