block/vr: fix compile errors