fix some bug for naio and add syscall.h