pothos-library: tweak for find poco libraries

Somehow having $lib at the end was making find_library
not capable of finding the library with a debug suffix.