Fixed homebrew url and made sure to delete mactex package.