ios : add support for armv8(-arch arm64) under Xcode 5.1.1
darwin : add support for shared library