Fix broken build of qt4 version