fixed graphite library build.