Fixed missing iOS8 check