Fix missing <dir> element for WINDOWSFONTDIR in meson

also refactoring logic around it to reduce the redundant

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/276
2 files changed