fixing build issues after updating Cordova