Add a method to check the version of flex installed.

The version must be 2.5.35