added build script for iOS and Mac