fix build.sh for newer version of pegjs