Change build scripts

compile wav.c right after asmsx.c and before flex/bison generated files;
call bison with extra flags "-v -b y"