Fixed build error on linux

Fix issue: [#138](http://github.rim.net/webworks/BB10-WebWorks-Cordova/issues/138)