use PluginRegistry C API instead, as C++ symbols are not exported on windows