build updates for osx and ios