Updated for recent software versions

updated for OSX 10.8.4, Xcode 4.6.3 and iOS SDK 6.1
support for more recent library versions