Compile warning fixes for new Xcode