CPP: getch() on linux