fixed some library links.