Fixed the flex bug with the autoconf system in involved.