BUGFIX PLUGINSDIR macro