Revert "Replace -lpthread with -lunix in systhreads/Makefile"

This reverts commit 0e810ad9a65534aa2797bedc28cf9b6665b420df.