Locate the FLEX = line and add /usr/bin/flex (or whatever the path to flex is on your machine) - Steve