Democracy and voting is not from Islam and such a system is unislamic.
However, if we are stock between a rock and a hard place, we need to choose the lesser of the two evils if there is benefit in that to Islam. If there is no benefit in either one, then do not vote.