moved platform specific syscall reference to platform specific build