Fixes phonegap/ios-sim#119 - ios-sim crashes on version 3.0.0