Fix missing headers under Qt4.