Fix library path for QML plugin but revert it when installing.