Added build_mac.sh to build swc version on a mac