Find libs automatically, not by path.