Switch to "latest" SDKs in framework build script

Solves issues with some configurations and versions of Xcode that
caused the script to break while trying to build the SDK name.