Find and install flex