Update mac.rb

Initial OS X 10.10 support.