fix some compile error for kqueue aiop