fixed Cobalt compilation