Fix Linux build with newer tool chain

No idea why this builds fine on Fedora 17.

Reported-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>