ctest fixes for netbsd syscalls