The syscall numbers change with every release: https://j00ru.vexillium.org/syscalls/nt/64/
Syscall numbers shouldn't be a problem if you link against ntdll.dll.
Syscall numbers shouldn't be a problem if you link against ntdll.dll.