SERVER-7172 Fix dassert to compile