Similarly here:
```
self._ld = os.environ.get('LDSHARED', ld)
```