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

Change-Id: I8dfc5c4148dec7f8badc814acfb32ea41e8f24d2
Merge "make rules for building on OSX 10.9 (Mavericks) and 10.10 (Yosemite B4)" into kitkat

Change-Id: Ifaa7beb3e452836347ccddf44ea5170cb05b5688