pthread static link