Adding darwin platform to common.sh build script