Better support mac os

zsh/zshrc: better support for mac os and homebrew