fix build with qmake + Makefile