Update OS X build process to work on 10.10 (Yosemite).