The good news is your issue is not irreparable, or uncommon. As someone who grew up pretty much constantly surrounded by women as friends but still feeling attraction for them I understand this dilemma. Your struggle to eliminate desire and be platonic with women are not “natural” or innate, but they’re not a simple choice or something you can just change instantly either. It’s the result of societal and cultural influences and pressures that encourage sexualization of women from a distance as a means of limiting them. The same way you, like I, have probably struggled to find friends outside your particular racial or ethnic group. Because the more intermixed and equal we become within our own cultural hierarchies, the less authority and control the state has over such issues, so they intentionally keep things divided and create tension so that we fight amongst ourselves rather than with those in control who can actually change the issues we’re upset about.
So don’t let it get you down, it’s just a matter of reprogramming your thinking. Work on it. Try to talk to women without letting your gaze drop, try to think about them in non-sexual ways as much possible, think about them as equal humans. Your intentions are good, keep at ‘em!