Makefile: add .PHONY & remove test from lib makefile
test/Makefile: add NDEBUG var for assert macro