fixing kdl linking for tests