Fix on linux for QT version < 5.1