Allow non-configuration of pluginsdir using __dirname instead