Updated build scripts

with core.c compilation
Convert unisgned int to int

this helps keep everything signed, so comparisons are done between the
same type
Remove name clashing

between parser2.c and asmsx.c