libd3d