Fixed compilation error without OpenMP.