Update GCC build scripts

to compile and link lex.l output