Fix qDebug() output on release builds