fixes switch between bison and flex, now flex is compiled differently.