Fix build with graphite

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>