fixed symbol visibility in plugin.cpp