make build pass on Xcode 6.1.1

Now works under the Xcode 6.1.1