compilation fixes for VR module