Replace used libraries