Fix warnings during installation

Task-number: QTBUG-31955

Change-Id: I6a4be2bd268a6580851c72b64a4458a85b890d8c
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>