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
1. Fix indentation, pls!
2. Use single quote ' in preference to " (reason - don't have to hold down the shift key, a little less "ink" on screen).
3. Use ver += '.0' (reason: more efficient, not that we care here but good habits to get into).