Update mac_os_x.rb

Fix the OS X version check