this could be upstreamed: first we'd need to protect the X11 code with ifdef and then enable what's Ozone only.