Makefiles: Now includes thread