[mac] fix build with qmake