Fix building the Mac version with GUI.
4 files changed