Fixed build on qt4