Fixed compilation error if the Deployment Target is pripr to iOS8