Install YAML.pm and valgrind with homebrew.