Detect dynamic-graph plugindir properly