find_library: Handle case-insensitive filesystems on Linux Linux 5.2+ supports case-insensitive ext4 filesystems. Teach `find_library` pattern matching to account for this. Fixes: #26526