$ 0 0 Store the correct env variables somewhere and apply them before building, it should be faster than running vcvars every time.