fix generation of Android and iOS packages