Only do Cocoa init if running GUI