Support multiple boost versions