Fix visibility problem on non-mingw platforms (all symbols were hidden so the plugin could not be loaded).