Fix UT for Windows