don't rely on distutils.sysconfig directly to determine Python lib dir

We shouldn't rely on `distutils.sysconfig.get_python_lib()` directly to determine the Python library dir 'lib/python%(python_version)s/site-packages', since that will return the value for the **system** Python, not for the Python module that was loaded.