Fixes for loading wrong libpython.so when having multiple python installation.