Update build.bat, bug fixed