Improve bootstrap script for osx