Resolving macOS, OpenCV, and Homebrew install errors