Update bakefile for mac