Fix binary hash mode compile error.