fix compile for SDL and DirectX video