Set minimum version for flex.

Refs #4962