Disable OpenMP support if libgomp is not found

Doing this, you explicitly check for OpenMP only. Why in this case doing a full loop over all modules and not just checking the omp custom module?