Fix homebrew/cask and mactex