Update to build with Xcode 5.1
fix compile warnings about non-literal format strings.