Fix installing Python modules on systems that use /usr/lib for Python
while installing other libraries in /usr/lib64. Rewrite CMake logic
to query correct directories from Python, similarly to how
prepare_binding_Python.py does it. Furthermore, change the regex used
in get_relative_lib_dir.py to allow 'lib' without suffix.
I think that the code can be further improved but I'd like to take
this enterprise in smaller steps in case one of them breaks something.
For my own education, is it possible that the result of the get_python_lib call will fundamentally differ depending on the value of the third argument. I.e., is there any case where ${SWIG_PYTHON_DIR} will be different from ${CMAKE_BINARY_DIR}/${SWIG_INSTALL_DIR} ?