Add missing critical omp section