add environment condition and let some set only available under windows