Fix compile on previous Qt version