DF-5423 fix assert on win32