Added SYSCALL_ALLOC and fixed compilation problem