Detect OS spec.