Fixed deprecated constant warning when building for iOS7+