Update minimum flex version.

Fixes #5072