Hitchin's Equations and M-Theory Phenomenology