rebuild for osx