Fix omp compile errors.