qmake: fix compile test check