fixed Boost syntax issues