qmake: Avoid 'double linking' of qcustomplot library