[[ DynamicFonts ]] Fixed some issues on windows. include sys/stat, use ANSI api variants.