modified link order for pthread

Hello,
I suggest to modify the link order for pthread.

For explanations see my second comment in 
https://github.com/Macaulay2/M2/pull/87
about pthread link order.