fix bootstrap.sh on osx