Fixed libpthread.so links