M-theory on non-Kähler eight-manifolds