linking libs