building on mac working