Added syscall wrapper for close
Swapped the rest of the syscalls to use 64 bit calls