Revert "Get rid of -lpthread flag in systhreads/Makefile"

This reverts commit 1d1b35132f0bd21175bd978b31658f8fbe3a61d3.
Replace -lpthread with -lunix in systhreads/Makefile