Fix virtualenv deactivation for Jython build