FS-5807 -- fix windows warnings