Fix issue with library downloading