Fixes to compile XtConnect on v0.3.93

KDE REVIEW: 110844
KDE BUG: 320785