This behavior was removed when we switched to libuv in CMake 3.11. After backporting new changes from libuv v2, we can restore the behavior. Fixes: #20115