Phonegap build fix