Fixed makefile to include boost.thread at tests