Updated Makefile to replace $(CC) by ${CC}
Moved -std=c++11 -O2 to compilation only
Replaced std::future by boost::unique_future