Compatible with latest Titanium SDK

builds successfully using xcode 5.x and iPhoneOsSDK 7.x