Working build in linux, still missing substitute for kbhit and exceptions