Revert "Fix building fonts with mingw-w64. Part1."

This reverts commit 278d2bc27b2fd6f860343ce92b4272e1f47efed8.
Fix building