Fix compilation without OpenMP