Fixed compatibility with Cordova 2.7.0

Fixed compatibility with Cordova 2.7.0
The old format of this exec call has been removed (deprecated since 2.1).