update osx building scripts