add multiple library support