Few refactorings in cmake. Remove the old openmp flag. Put the intel and gcc libraries in the compiler file.