make m7 buildable
Merge pull request #1 from rc420head/patch-1

make m7 buildable