Build phonegap