Expression is not an integer constant expression

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