Fix compile errors with older boost
Add some changes for the article