Fixed arm64 builds.
Allow setting the OS X SDK to "none" to allow x86_64 to be an iOS build.
Put headers for arm64 builds into a separate directory.
Update curl and SDK versions