fix qt4 build