trivial: Fix a small leak in the self test program
Use libyaml to read DEP-11 metadata

This is optional, but enabled by default. Use --disable-dep11 to remove the
libyaml dependancy.