fix makefile, needs to include 2 additional objects and pthread