Stop leaking external headers and symbols to the public API
There are several places where we leak the external headers and libraries to the public library API. We should stop doing that as it forces any user of the library to add correct
LDFLAGS to the compiler and linker.
This is placeholder bug and I will add individual merge requests for every occurrence: