Fix library name in test file and in Makefile