Use env to set environment variables, so it works on Linux and Windows.
That's too much of a difference. Please figure our how to make env work on windows, or drop this test.
@kcc you are right. This could be done easily using env, because we have gnu win tools. (This is what we do for asan tests)
update the patch description, please