Lazy import modules to avoid distro specific imports in package managers