Update OSX build rules.