async: fix compile errors in lwt