Added build script. Refactored static if's in dxgi.d.