qttools_core: Fix detection of dynamic libs on PluginsLoader