Homebrew now natively allows enabling Cocoa when installing ROOT.