fix for VIRTUALENV not defined