Fixed virtualenv problems