fix -pthread