Fix up Mac console build