lib/Makefile.local: depend on libs we are linking with