remove -lpthread