fix cbcollect_info on Windows