Use $(LIBS) instead of -lpthread when linking tests

This will allow linking for win32 without pthreads more easily
1 file changed