Updated the script

- Updated compiler to clang.
- Added CPP="cpp"to pass C++ preprocessor checking at configure.
- Updated base SDK to 6.1, deployment target to 5.1
- Using zsh as an env so it could continuously log with &>>
Update zeromq library to 3.2.3, and download if it doesn't exist.