[XProxy] Fixed clang crash in Qt5 build.

And presumably on Qt4 build on opensuse, for example.