Clean up Makefile for C / pthreads implementation a bit to enable build on Linux