fix link libraries