Men are more willing to work in unpleasant jobs (e.g. truck driver, garbage collection). These jobs pay well because they are unpleasant.
Men are more willing to work in remote environments. (e.g. Alaska, North Dakota). Everyone wants to live it NYC or West Hollywood. It's great lifestyle. No one wants to live in Odessa, Texas.
Men are more willing to accept dangerous work where the chance of workplace injury is high (e.g. construction, mining, fishing, manufacturing).
These locations and the jobs they provide suck. They are long hours with high risk of injury, often outdoors, or away from family in places no one willingly chooses to live. Often these jobs include persistent exposure to harmful chemicals.
For identical jobs, men and women still have a pay discrepancy and that should be addressed. However, simply saying that women are paid less on average fails to capture the whole story.
In defense of men, most of the jobs lost in the recent recession were jobs held by men.