added brew installation if needed for mac