meson: Fix flex version parsing on Darwin platforms
This regression was introduced by commit 59c31d8d. On MacOS the flex --version
output has this format: flex version-number Apple-crap
So When splitting the version string we need to use the second field, not the last one.
Fixes #356 (closed)