Fix building under Qt 5.1.1