Further improvements to set-python-compiler.