Updated check for OpenMP.