Expression is not an integer constant expression

Fix error "Expression is not an integer constant expression" on iOS 8 beta 3