Add support for YAML-CPP 0.5+.