Set QT_INSTALLED_LIBRARY_DIR in case of Qt5.