Build according to macosx