Update build.bat to 3.1 beta version