build: Update use of link_whole for meson-0.52
meson has changed some behavior in link_with/link_whole, using link_whole internally leads to duplicate symbols.
See: https://github.com/mesonbuild/meson/pull/6030
Fixes: #59 (closed)
Edited by Diego Escalante Urrelo