Makefile for threads updated.