windows dx build fix