Now determine plugin directory from MINIBOT_PLUGINS_DIR or from /proc/self/exe.