make it compilable by final xCode 6.1 GM
Merge pull request #1 from quentar/master

changed syntax to make it compile by final xCode 6.1 GM