Fix Qt 4.8.5 compilation