Fixed OSX build steps for third-parties