Fixed Mac build system
Updated instructions
Update build.sh

Updated for API changes