Mingw workaround.