Fixed client compilation errors.