fontconfig with msvc compilation support and a few Windows fixes