Fixed compatibility with Cordova 2.8. 

The old format of this exec call has been removed (deprecated since 2.1).