Support build for cgroup2 servers
see original implementation here: https://github.com/OPENAIRINTERFACE/openair-spgwu-tiny/commit/eb097ef87ccc13e22dadfef5644c4c05e42e390c
see original implementation here: https://github.com/OPENAIRINTERFACE/openair-spgwu-tiny/commit/eb097ef87ccc13e22dadfef5644c4c05e42e390c