SERVER-7596 Fixed compile error