fix find_library usage to remove deprecation warnings