A gigantic survey (I could find references if you are interested) has shown that from ultra-repressive environments (Muslim or African countries) to ultra-liberal countries (Northern Europe) the percentage of women going into CS is about the same. It actually decreases a bit in progressive countries.
This strongly supports the fact that the environment does not matter, biological differences do.