bashrc: add check for platform, and disable brew if not present.