BUGFIX: Version grater than 1.9 gets detected wrong.

Since the comparison is made as float any version grater than 1.9 will result to be lower then 1.7.