Fix a couple of compile warnings with Xcode 5.