support newer boost context