Updates for the iOS7 SDK and Mavericks

I have updated the build script to use the current working environment using the `xcode-select` command. 

I have also updated the `lipo` command to use the new `xcrun` command for getting the proper path to the tools. This has changed on OS X Mavericks.