Update build_osx.sh

adding selfupgrade for port