make m7 buildable