Add missing dependency to libpthread