Make flex call work with older flexes.
This version seems to work with bison 2.3 to 3