The second parameter for ensure_packages() was introduces in stdlib 4.2.0