root: cocoa as default, :x11 optional

* fix building without XCode
* disable old workaround
* refactor argument list

Closes #889.