updated build.cmd to include env vars