Simple. You ACTIVELY LOOK for women and minorities, you train your people to be less biased, you do everything you can to have a more diverse pool of interviewee. But if in the end you still have to choose between a more competent white man and a black woman for the same salary/position you choose the white man.