fixing compiler errors on VDX