C++98 compatibility for parallel_priority_queue.