fixed the OpenMP compilation problem detected by David Luet