Put OpenMP pragmas behind #ifdef _OPENMP for when openmp is not available.