Hopefully fix Qt 5.1 compilation