make conio module compilable with darwin