Add support for building on OSX host on gonk-JB

Change-Id: I9b535235b20075dbe06e42cd04868ca4dbb7363e