unit-tests: link test-runner against -lpthread