Update phonegap library to use cordova library instead.