Fixes an FTBFS in the Qt4 build

Change-Id: Ic0d6448355be6c94fb36bd134fdfb36b25790c88
Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>