fixed omp build defect