statically link python shared lib for python plugin loader