Fix building of cmdline_tester with Qt5