[python] Fix virtualenv activation.