Fixes tests_aux_d3d_d3d11 failing in DuplicateHandle before importing