added os detection for homebrew path to virtualenv