added SETLOCAL to build scripts