Ensure compatibility of yaml-cpp