There are many examples of girls being actively refused entry in to technology classes[1] based on their gender. When the education system itself is prejudiced against women it's unreasonable to suggest women aren't getting tech jobs because they're unwilling to put in the effort - they can't because they're blocked from doing so.
[1] A recent example http://jezebel.com/girl-fights-library-s-boys-only-robotics-...