Starting Windows support

Sys functions need to be prefixed to avoid name collisions with the host
functions.