fix build with aio changes