Fix compilation errors on Qt 4.5