add missing compilation flags for static libtag and libyaml when cross-building static examples with mingw