Is your feature request related to a problem? Please describe.
Currently, the checkLibrary function is completely reliant on pkg-config. In some cases, even if a library is installed, it might not report properly.
Example
Using Fedora 43, even if webkit2gtk4.1-devel is installed, wails doctor will report it as missing.
Describe the solution you'd like
I would like to suggest a fallback if not detected to check the file /lib and /usr/lib paths for a second chance
Describe alternatives you've considered
Due to the many differences between distributions, after pkg-configm there isn't a reliable way of determining if libraries are installed without creating different paths depending on the distribution / package manager in use.
Additional context
PR present that Github should automatically link in just a moment