Build the phonegap plugin from the demo.

Fixes problem with archiving in xCode.