Move helper/detect_os to specinfra and include it for compatibility