removre calling to udefined references to libmm for until
implemeting it.
Fix up headers conflicts and --enable-smp building error