more clean versions comparison for OS X yosemite 10.10

fixes yosemite 10.10 issue #13