[Hotfix] Improvement to OpenMP detection.