Correct the path to the plugin directory of dynamic-graph.

The dependency in dynamic-graph is required to obtain the
plugin directory