Enabling detection of Windows OS

Since class OsDetect is not considered, when detect_os method of it is called on Windows OS, it failed to detect. New one gets over this by adding Windows class.