fix compilation of newer yaml-cpp
The version would have to be checked in the dependent if the header checks for the
version