plugin: use RTLD_LOCAL instead of RTLD_GLOBAL when loading library