remove old syscall emulation code