fix qt4 static building