Fix getch() on Windows