OS X: Workaround Qt5 QNAM bug

This made the sign out/sign in handling not work.
Propagator: Fix compilation

It is still protected on Qt4