syscalls: compile correctly on x86