Attached 2 diff files that
1) fix a non-PIC call, and
2) properly define the global symbols as functions with a
With at least the first, gstreamer works. It would otherwise fail
to load some plugins because rtld would complain about non-PIC
If you want I can file a PR. Or if you're ok with it, I can do
the commit myself.