Fix compilation without cgroups