Fix mac-sdk build & support darwin hosts (hopefully)
am: eab990b981

Change-Id: I2cf5bdeee54d83db79b32663fc4cbe43f830ab19