Fixed minor compilation warnings.