windows_version compile fixes