Due to lack of standard in how FindFOO modules work, and, possibly, how
CMake's find helpers work as well, it was possible that system-wide
libraries are used.
This change ensures that all libraries are used from their pre-compiled
There might be some trick to utilize some of CMake's functionality which
will work reliable for all libraries without splitting configuration
code paths, but things I've tried didn't really work for me and nobody
is else is looking into them. I'd rather have stupid-looking solution
which works for users rather than spend a fortune looking for an ideal
solution. This can be changed any time anyway.