PhoneGap: Fix duplicate res folder error