Fixed build errors when libovr is not present