To be fair, at one point it was pretty standard to put the accuser in a case like that more on trial than the accused.
When it's one person's word against another person's word, then the presumption of innocence should prevail. Once a trial has begun, a person has a right to question their accuser (that's in the Constitution).
If there is no hard evidence, then the prosecutor shouldn't drag the victim through the whole process, even if they are really a victim. It doesn't help anyone.
Yes, it sucks to let criminals go free.
But it sucks more to allow one group of people (in this case, women) to put anyone from another group (in this case, men) into prison by simply lying.
society's trying to find an appropriate equilibrium.
Oh, so it's society's fault?
No. It's the fault of the witnesses who lie and the prosecutors who press charges when there is no corroborating evidence. And both should go to jail.