Link with libpthread on Linux, required by libboost_thread.
Link with libpthread on Linux, required by libboost_thread.

Fixes link failure when using the 'gold' linker.

wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin