update bakefile for mac biuld