Update mac_os_x.rb

Fix the OS X version check
Merge pull request #96 from gouketsu/patch-1

Fix the version check to support OS X 10.10