Compile on windows

On windows the uname function did not exists so it failed to compile. This makes it return an error that kernel version detection is not available on windows just like it does on darwin.