We had to disable this check because checking OMP_NUM_THREADS on Windows caused several unit tests to hang.