Added string library and small fix on asynchronous io