(XDK D3D) Build fix