Revert "toolchain: temporary build fix for MinGW-w64"
Revert "toolchain: temporary build fix for MinGW-w64"

This reverts commit d3501226937629223d93a73670216931cb161811.

chhe/mingw-w64-cmake,lachs0r/mingw-w64-cmake