What makes a guy mature? I am 43 and still have a problem with how I look at women. I don't mean any disrespect and several I admire for their intelligence and ability to do their jobs, but I still undress them with my eyes. I don't do it on purpose, and I stop as soon as I realize I am doing it.
Why do you consider this a problem? Why do you consider this a sign of immaturity? You're a man. You are attracted to women. There is not a fucking thing wrong with that. If anyone tries to convince you otherwise, they are full of shit and deserve a baseball bat to the back of their skull.
A man is mature when he is able to take care of his business. You pay your rent on time? You have a good job? You have food in the fridge? You have goals you're working towards? If the answer to this is "yes" then, congratulations, you are mature. You are taking care of your shit. You have successfully removed yourself from the ranks of shitbirds world-wide. This is commendable.
If the sexes didn't ogle each other, no one would fuck, and there wouldn't be any humans left roaming the planet. And if women didn't enjoy being ogled, why the hell do they run around with their thong poking out of the back of their jeans and why do they flash their tits at Mardi Gras?
You have NOTHING to be ashamed of, brother.