Corrected Makefile for pthread