Test for library containing pthread_create

Signed-off-by: Ralph Boehme <rb@sernet.de>