Fixed PhoneGap build on iOS