Fix running with Qt 5.2.1