add build bootstrap script
improve version
fix path for macosx