update test/Makefile: if lib is not exist, remake one