change config to support older version of Cordova