fix build with Qt <4.7 (eg. Debian Lucid)