improved graphviz build script