fix compile error in Graphite client