xrdp-ng: fix session manager build system issues