update build script

add path environment variable for windows