fix locating of pythonXX.so, with thanks to Ricardo