Fix build instructions and build script for mac