[pgb] configure for building on Phonegap Build