Fix for some VC compiler warnings.