Fix addnid syscall for compile.