root: cocoa as default, :x11 as :optional