fix Makefile problem linking against KDL