update: windows compatibility improved.

- `visual-bell` enabled.
- Modified `package-user-dir` for windows to avoid download all packages
  on repository sync.