make rules for building on OSX 10.9 (Mavericks) and 10.10 (Yosemite B4)

Change-Id: I8dfc5c4148dec7f8badc814acfb32ea41e8f24d2