Added autodiscovery of the Python library for dlopen