Add libyaml-dev to the apt-get install string.
If libyaml headers are not installed, YAML will not be correctly compiled (either not at all, or using Syck instead of Psych).
If libyaml headers are not installed, YAML will not be correctly compiled (either not at all, or using Syck instead of Psych).