Added -pthread option to compiler & linker options in makefile so std::thread would work on Linux