make links work to libs