update -lpthread