fix cmake for ios. apptracker fixes