The Evolution of the C/O Ratio in Metal-poor Halo Stars