modified files to be compatible with Boost Lib 1.50