std::-ize the queue for solaris's sake SERVER-10026