qt5: Fix link for non in-place builds

Qt5 5.1.0 links two Webkit related libs into the temporary build dir.

Upstream:
https://bugreports.qt-project.org/browse/QTBUG-32417

Fixes #20020