added libpthread_LIBS to fix build in tools
3 files changed