Updated main.cpp and Makefile to be compatible with latest boost library