Fix build on Windows targets without dxgi.h, like MingW32.
Update the machine-generated configure code.