[DF-1294] Fix Win32 project. Fix warnings.