fix ios and android build