pthread: link in pthread_tls.o only if used