add flex and bison check in configure.ac