minor improvements for virtualenv