Switch to syscall instead of libc assembly code