Fixed virtualenv issue for OSX