c++ downward compatibility
fix to be able to link to boost