Fixed compile issue with cordova 3.5.1