add link to pthread and ssl to avoid errors

lua mongotest.lua
gives error about libpthread.so.1 and missing PLT symbol "SSL_connect" 

# export LD_PRELOAD=/usr/lib/libpthread.so.1