valgrind support in viterbi-bench