Ok, so I thought I had fixed this, but I had not.
This has no effect, I got fooled by having manually set the environment variable as well.
Since this is windows-only, a hack would be to do something like system('set VAR_NAME=0') instead and see if it works.
@vene can we close that? or can we fix it? I'm not entirely sure about this issue.
how to test this?