Fix linux link -lpthread