Fix VCD compilation errors