Switching to phonegap mode for build