How to fix ImportError: /path/to/lib.so: undefined symbol: symbol_name in Python | DevErrors