Fix type error in on_unix.c