Patches for Yosemite

This gets rippled going on Yosemite.

After upgrading you have to re-install command-line tools prior to building:
$ xcode-select --install

Tested on both Mavericks and Yosemite.  Passes Travis.
@josh-ripple @niq
Tab snuck in there, thanks!
ver = ver + '.0' done.