set environment correctly on windows