link dependent libs