Fixed build errors for VS, ChBarobo Package