Fixed compile errors in Xcode 6 GM

Fixed a little syntax to allow the library to compile in Xcode6 GM.