Remove obsolete CMakeLists.txt and fix library search name for plugin