Fixed missing module from the CMakeLists.txt.
Fixed old calls to CMapirMOOSAPP by COpenMORAMOSSApp.
Solved some cmake problems when linking ext libraries.