Fixing compile warnings.