make plugindir glob more generic