Fix library index.