Added support of asynchronous input for Linux platform