better error on Windows when trying to use system calls