fix build error and comment out D3D shadow layers (speculative, I wouldn't pull this)