If thread-safety-constructor is enabled, link against pthreads not stubs
Only really makes a difference if pthreads is not in libc.
Fixes: #162 (closed)
This seems to do what I expect when building on Oracle Linux 7, linking against libpthreads, but I've not tested it beyond building and running readelf -d