Added gco patch for mac os