Fix for MinGW-like consoles (win32);
Merge pull request #62 from sigod/master

Fix for MinGW-like consoles (win32)