Adds libraries dependency and library info hook