Revert "fix linking with msvc"
while this will break build with MSVC, the changes there do not take
into account how libpoppler was actually build, i.e. with or without
libjpeg, libopenjpeg (1 vs 2), libpng, etc
since the solution was too much fragile (and working around the fact
that the cmake build system for poppler builds libpoppler as static),
let's remove it for now
This reverts commit 6d5209723d4614edd9ddc11d03978d16a0fdca70.