use provided libyaml during compile

[#73820716]