fix SDL compilation with Qt 5.1