#15 Fix compareVersions function
Merge pull request #79 from gremy/1.x

#15 Fix compareVersions function