Add support for yaml-cpp 0.5+

replaces pull request https://github.com/ros-visualization/rviz/pull/691