Uses CMAKE to generate pattform dependent makefiles.

Connected library MwExtra through git submodule.