Makefile: add libs as test deps