Fixing some compiler warnings.