Windows CI: Fix unit test failures Upstream-commit: b7aae84b5fe0789a98228409174f1d4619ab2245 Component: engine