Add a Graphite target + changes to allow per-target flags