Piotr Caban : msvcrt: Fix mingw compilation issues.