Adapt to the new yaml-cpp 0.5.0 API