changed makefile and added Thread to WaitFreeQueue