fixes failing Cordova builds