Removed bg_lex.yy.c and modified Makefile

- removed bg_lex.yy.c
- modified Makefile to genereate bg_lex.yy.c with flex (which will
hopefully fix linux server crashes <- has to be tested)