Fixed some issues with brew packages