Fix sign comparison warnings

And enable them in the Xcode 6 project so this stops happening.