Second, is that really a problem? Honestly so much of the world is becoming if you can't physically see someone similar to you doing something you are disadvantaged. Do you really need to see a male teaching a subject for you to press yourself to do your best?
I had primarily women teachers too, probably everyone did. It didn't do anything positive or negative to me. If you can not drive yourself, you are going to be at a significant disadvantage when you move on to the working world.