fixed the OpenMP compilation issue detected by BuildBot