DF-1943. Fix Win32 project. Fix warnings