fix build of objc client