Are you located such that you can take it to a music shop that does basic guitar repair and get the machine head replaced?
You can buy a set of 6 if you're feeling handy and swap out the bad one, or all of them.