Fix Qt4 compilation

Allow a public msleep() like on Qt5