Fix compilation with disabled openmp.