Link to IMPORTED targets with Qt 4.

The IMPORTED targets have the CMP0020 logic encoded into them.
Merge topic 'fix-Qt5-windows-build' into next

8e43e0c3 Link to IMPORTED targets with Qt 4.