[DF-3451] Fixed convertation of geometry on win32. Fixed warnings