Fix this so it works when valgrind is installed.