Fix compilation error after update to cordova2.7
Merge pull request #301 from vergnes/compilation

Fix compilation error after update to cordova2.7