Minor fixes for Windows

Fixed wrong colors on Windows
Changed WIN32 macro to _WIN32
Added definition for the more modern _getch on Windows