root: allow using Cocoa backend

Allows to brew CERN ROOT with Retina display support.