Define PLUGINLIBRARY

Some missed bugs making administrators unable to install the plugin.