Fix syscall stub generation.