[SSSD] [PATCHES] Build fixes and improvements