apply openmp patch