m8: correct setup-makefiles script

Change-Id: Idaa521fee26bf026c80fe95e02ace35261790d40
Merge remote-tracking branch 'cm/cm-11.0' into kitkat