Added checks for flex, bison versions in configure