Link all libraries needed