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.
Merge pull request #1 from esolitos/version-checking

BUGFIX: Version grater than 1.9 gets detected wrong.