Fix distro-detection in "configure_python.sh"