check os version.