Fix Xcode 5 value and format conversion warnings when building for device