link to arm64 by default and use new-style linker flags
Replaces print statement as print() and replaces file() with open() to resolve error occurred when running the `tools/build-ios.sh` script under Python 3 environment. Signed-off-by: Olli Wang <olliwang@ollix.com>