Fix Qt4 static building