Fixed a compilation issue with the new Xcode 6