fix compile CB apps