upadte build script for mac and README.md