(D3D/MSVC) Build fix and include d3d_wrapper.c for MSVC build