build: fix --target output-graph