Fix UT on Windows